package com.wf.day_0615.decorators;

/**
 * @author mpk
 * @since 2024/6/15 14:52:57
 */
public class FiredRice extends FastFood{


    public FiredRice() {

        super("炒饭", 10);
    }

    @Override
    public float cost() {
        return super.getPrice();
    }
}
